.TH std::scoped_allocator_adaptor::max_size 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::scoped_allocator_adaptor::max_size \- std::scoped_allocator_adaptor::max_size

.SH Synopsis
   Defined in header <scoped_allocator>
   size_type max_size() const;           \fI(since C++11)\fP

   Reports the maximum allocation size supported by the outer allocator, by calling
   std::allocator_traits<OuterAlloc>::max_size(outer_allocator()).

.SH Parameters

   \fI(none)\fP

.SH Return value

   The maximum allocation size for OuterAlloc.

.SH See also

   max_size      returns the largest supported allocation size
   \fI(until C++20)\fP \fI(public member function of std::allocator<T>)\fP
   max_size      returns the maximum object size supported by the allocator
   \fB[static]\fP      \fI(public static member function of std::allocator_traits<Alloc>)\fP
